package com.enlorenz.common.excel.utils;

import com.enlorenz.common.excel.CustomCellData;
import com.enlorenz.common.excel.PoiStyleSetter;

public class DataExporter4XlsUtils {
	
	public static CustomCellData createCustomCellData(Object value){
		return createCustomCellData(value, 1);
	}
	
	public static CustomCellData createCustomCellData(Object value,int colspan){
		return createCustomCellData(value,colspan,null);
	}
	
	public static CustomCellData createCustomCellData(Object value,int colspan,PoiStyleSetter setter){
		CustomCellData data=new CustomCellData();
		data.setValue(value);
		data.setColspan(colspan);
		data.setSetter(setter);
		return data;
	}
	
}
